import '../server-mod/mod-tpl'; // keep mod-tpl file exist after compiled
import '../server-mod/proxy-mod'; // keep proxy-mod dir exist after compiled
import '../server-mod/resolve-filename'; // handle module resolveFileName

export { VER } from '../base/consts';
export { getMemLogs, recordMemLog } from '../base/mem-logger';
export { getHelModulesPath } from '../base/path-helper';
export { addBizHooks } from '../context';
export { initMiddleware, mapAndPreload, preloadMappedData, preloadMiddleware, setGlobalConfig, setPlatformConfig } from '../init';
export {
  downloadNodeModFiles,
  getFallbackMod,
  getNodeModDesc,
  getNodeModVer,
  importNodeMod,
  importNodeModByMeta,
  importNodeModByMetaSync,
  importNodeModByPath,
  mapNodeMods,
  requireNodeMod,
  resolveNodeMod,
} from '../mod-node';
export {
  downloadFile,
  downloadHelModFiles,
  getHelModMeta,
  importHelMod,
  importHelModByMeta,
  importHelModByMetaSync,
  importHelModByPath,
} from '../server-mod';
export { isHelModProxy } from '../server-mod/mod-manager-helper';
export { mockAutoDownload } from '../test-util/mock-download';
export * as mockUtil from '../test-util/mock-util';
